
<table width="100%"><td width="100%" align="center">{AC_MODE_IMAGE}</td></table>
<table align="center" width="100%" cellpadding="3" cellspacing="0" style="border: 1px solid;">
		<tr>
			<td width="33%" align="center" style="border-right: 0px solid;"><a href="{AC_LINK_PAID}"><IMG SRC="images/accounting/accountspaid.png" ALT="Paid Invoices" BORDER=0 WIDTH="200"></a></td>
			<td width="33%" align="center" style="border-right: 0px solid;"><a href="{AC_LINK_UNPAID}"><IMG SRC="images/accounting/accountsunpaid.png" ALT="Unpaid Invoices" BORDER=0 WIDTH="200"></a></td>
			<td width="33%" align="center" style="border-right: 0px solid;"><a href="{AC_LINK_CANCEL}"><IMG SRC="images/accounting/accountscancel.png" ALT="Cancellation Request" BORDER=0 WIDTH="200"></a></td>
		</tr>
	</table>

<!-- IF AC_VIEWLIST -->
	<form method="post" action="{AC_MODE_ACTION}" {I18N}>
		<table width="95%" cellspacing="2" cellpadding="2" border="0" align="center">
			<tr>
			  <td align="right" nowrap="nowrap"><span class="genmed">{AC_SELECT_FILTER_METHOD}:&nbsp;{AC_MODE_SELECT}
				<input type="submit" name="submit" value="{AC_SUBMIT}" class="liteoption" />
				</span></td>
			</tr>
		</table>
		<table width="100%" cellspacing="0" cellpadding="1" style="border: 1px solid; border-bottom: 0px;">
			<tr>
				<td width="25%" align="center" style="border-right: 1px solid; border-bottom: 1px solid;"><b>{AC_INVOICE}</b></td>
				<td width="25%" align="center" style="border-right: 1px solid; border-bottom: 1px solid;"><b>{AC_HEADER_INVOICE_DATE}</b></td>
				<td width="25%" align="center" style="border-right: 1px solid; border-bottom: 1px solid;"><b>{AC_HEADER_INVOICE_DUE_DATE}</b></td>
				<td width="25%" align="right" style="border-bottom: 1px solid;"><b>{AC_HEADER_INVOICE_AMOUNT}</b></td>
			</tr>
		<!-- BEGIN invoicerow -->
			<tr>
				<td width="25%" align="center" style="border-right: 1px solid; border-bottom: 1px solid;"><a href="{invoicerow.AC_INVIOCE_LINK}">{invoicerow.AC_INVOICE_ID}</a></td>
				<td width="25%" align="center" style="border-right: 1px solid; border-bottom: 1px solid;">{invoicerow.AC_INVOICE_DATE}</td>
				<td width="25%" align="center" style="border-right: 1px solid; border-bottom: 1px solid;">{invoicerow.AC_INVOICE_DUE_DATE}</td>
				<td width="25%" align="right" style="border-bottom: 1px solid;">{invoicerow.AC_INVOICE_AMOUNT}</td>
			</tr>
	<!-- END invoicerow -->
		</table>

	</form>
<!-- ENDIF -->

<!-- IF AC_CANSELREQ -->
	<table width="100%" cellspacing="0" cellpadding="1" border="1" style="border-collapse: collapse" align="center"><form method="post">
			<tr>
				<td colspan="6">{AC_SELECT_LINE}</td>
			</tr>
			<tr>
				<td align="left" width="10%"><b>{AC_REQ}</b></td>
				<td align="left" width="10%"><b>{AC_INVOICE}</b></td>
				<td align="left"><b>{AC_DESC}</b></td>
				<td align="right" width="10%"><b>{AC_HEADER_LINE_QTY}</b></td>
				<td align="right" width="10%"><b>{AC_HEADER_UNIT_PRICE}</b></td>
				<td align="right" width="10%"><b>{AC_HEADER_LINE_AMOUNT}</b></td>
			</tr>
	<!-- BEGIN invoicerow -->
			<tr>
				<td align="center"><input type="checkbox" name="item[]" value="{invoicerow.AC_LINE_ID}"></td>
				<td align="center">{invoicerow.AC_INVOICE_ID}</a></td>
				<td align="left">{invoicerow.AC_LINE_DESC}</td>
				<td align="right">{invoicerow.AC_LINE_QTY}</td>
				<td align="right">{invoicerow.AC_LINE_UNITPRICE}</td>
				<td align="right">{invoicerow.AC_LINE_AMOUNT}</td>
			</tr>
	<!-- END invoicerow -->

		</table></br></br><table width="50%" cellspacing="0" cellpadding="1" border="0" style="border-collapse: collapse" align="left">
			<tr><td width="30%" class="tblcolor1">{AC_REQ_REASON}</td>
			<td align="left"><input type="text" name="reason" cols="60"> *</td>
		</tr>
		<tr><td valign="top" width="30%" class="tblcolor1">{AC_COMMENTS}</td>
			<td align="left"><textarea name="comments" cols="60" rows="10"></textarea></td>
		</tr>
		<tr><td colspan="2" align="center"><input type="submit" name="submit" value="{AC_SUBMIT}" style="width:100;"></td></tr></form>
		</table>

<!-- ENDIF -->

